import api from './index';

export const getList = () => {
    return api.get('/address-book/list');
};
export const generate = (nation, count, dimension, isName) => {
    return api.post('/address-book/generate', {
        nation,
        count,
        dimension,
        isName
    })
}
export const deleteFile=(fileName)=>{
    return api.get('/address-book/file/'+fileName)
}